import { request } from '@/utils/request'


// export function Page (params) {
//   return request({
//     url: '/api/maintain/page',
//     params
//   })
// }


//维修工单
export function handleReceive (data) {
  return request({
    url: '/api/maintain/handleReceive',
    method:'post',
    data
  })
}

//我的维修
export function getMyPage (params) {
  return request({
    url: '/api/maintain/myMaintain',
    params
  })
}

export function myMaintainDelete (data) {
  return request({
    url: '/api/maintain/myMaintainDelete',
    method:'post',
    data
  })
}

export function myMaintainUpdate (data) {
  return request({
    url: '/api/maintain/myMaintainUpdate',
    method:'post',
    data
  })
}


